package com.buildings.util;

import android.content.Context;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * 表单数据来源
 */
public class FormDataUtil {
  public static final String ALL = "全部";
  public static final String NO_COMMIT = "未提交";
  public static final String NO_VERIFY = "未审核";
  public static final String VERIFY_FAILED = "审核未通过";
  public static final String VERIFY_SUCCESS = "审核通过";

  public static final String TOWN_HOUSE = "城镇住宅";
  public static final String TOWN_NON_HOUSE = "城镇非住宅";
  public static final String VILLAGE_HOUSE = "农村住房";
  public static final String VILLAGE_PUBLIC_HOUSE = "农村公共住宅";

  public static final String REINFORCE_PROJECT = "加固工程";
  public static final String NEW_PROJECT = "新建工程";

  public static List<String> getFormListStatus() {//
    String[] array = new String[] { ALL, NO_COMMIT, NO_VERIFY, VERIFY_FAILED, VERIFY_SUCCESS };
    return Arrays.asList(array);
  }

  public static List<String> getFormListSort() {//0、城镇住宅1、城镇非住宅，2、农村住房，3、农村公共住宅
    String[] array =
        new String[] { ALL, TOWN_HOUSE, TOWN_NON_HOUSE, VILLAGE_HOUSE, VILLAGE_PUBLIC_HOUSE };
    return Arrays.asList(array);
  }

  public static List<String> getRFormListSort() {//
    String[] array = new String[] { ALL, REINFORCE_PROJECT, NEW_PROJECT };
    return Arrays.asList(array);
  }

  public static List<String> getBuildingType() {
    String[] array = new String[] { "既有", "新增", "已拆除" };
    return Arrays.asList(array);
  }

  public static List<String> getJieGouLeiXing() {//砖混/底层混凝土柱-上部砖混/钢筋混凝土/砖木/钢结构/木结构/其它_____

    String[] array = new String[] { "砖混", "底层混凝土柱-上部砖混", "钢筋混凝土", "砖木", "钢结构", "木结构", "其它" };
    return Arrays.asList(array);
  }

  /**
   * 农村住宅结构类型
   */
  public static List<String> getVillageJieGouLeiXing() {//□砖(砌块)混  □低层框架  □轻钢（钢）装配式  □混凝土装配式  □砖木  □土木  □石木  □木结构  □窑洞  □混杂结构（砖/砌块/土/石）  □其他（________）

    String[] array = new String[] {
        "砖(砌块)混", "低层框架", "轻钢（钢）装配式", "混凝土装配式", "砖木", "土木", "石木", "木结构", "窑洞", "混杂结构（砖/砌块/土/石）",
        "其它"
    };
    return Arrays.asList(array);
  }

  public static List<String> getTownNonHouserJieGouLeiXingOne() {//底层混凝土柱-上部砖混\内部混凝土柱-外墙砖混\砖木\单跨框架\钢结构\木结构\其它_______

    String[] array =
        new String[] { "砖混：底层混凝土柱-上部砖混", "砖混：内部混凝土柱-外墙砖混", "砖木", "钢筋混凝土-单跨框架", "钢结构", "木结构", "其它" };
    return Arrays.asList(array);
  }

  public static List<String> getTownNonHouserJieGouLeiXingTwo() {//砖混\砖木\钢筋混凝土\钢结构\木结构\其它_______

    String[] array = new String[] { "砖混", "砖木", "钢筋混凝土", "钢结构", "木结构", "其它" };
    return Arrays.asList(array);
  }

  public static List<String> getJianZaoShiJian() {//70s以前、70s、80s、90s、00s、10s
    String[] array = new String[] { "70s以前", "70s", "80s", "90s", "00s", "10s" };
    return Arrays.asList(array);
  }

  public static List<String> getYuanSheFangLieDu() {//"未设防 6度（0.05g）7度（0.10g）7度（0.15g）8度（0.20g）8度（0.30g）9度（0.40g）"
    String[] array = new String[] {
        "未设防", "6度（0.05g）", "7度（0.10g）", "7度（0.15g）", "8度（0.20g）", "8度（0.30g）", "9度（0.40g）"
    };
    return Arrays.asList(array);
  }

  public static List<String> getGaiZaoShiJian() {//未/80s/90s/00s/10s
    String[] array = new String[] { "未改造", "80s", "90s", "00s", "10s" };
    return Arrays.asList(array);
  }

  public static List<String> getKangZhenJiaGu() {//未/80s/90s/00s/10s
    String[] array = new String[] { "未加固", "80s", "90s", "00s", "10s" };
    return Arrays.asList(array);
  }

  public static List<String> getVillageKangZhenJiaGu() {//未设防/6度（0.05g）/7度（0.10g&0.15g）/8度（0.20g&0.30g）/9度（0.40g）
    String[] array =
        new String[] { "未设防", "6度（0.05g）", "7度（0.10g&0.15g）", "8度（0.20g&0.30g）", "9度（0.40g）" };
    return Arrays.asList(array);
  }

  public static List<String> getXianSheFangLieDu() {//"未设防 6度（0.05g）7度（0.10g）7度（0.15g）8度（0.20g）8度（0.30g）9度（0.40g）"
    String[] array = new String[] {
        "未设防", "6度（0.05g）", "7度（0.10g）", "7度（0.15g）", "8度（0.20g）", "8度（0.30g）", "9度（0.40g）"
    };
    return Arrays.asList(array);
  }

  public static List<String> getVillagePublicXianSheFangLieDu() {//6度（0.05g）/7度（0.10g）/7度（0.15g）/8度（0.20g）/8度（0.30g）/9度（0.40g）
    String[] array = new String[] {
        "6度（0.05g）", "7度（0.10g）", "7度（0.15g）", "8度（0.20g）", "8度（0.30g）", "9度（0.40g）"
    };
    return Arrays.asList(array);
  }

  public static List<String> getLieFengBianXing() {//
    String[] array = new String[] { "有", "无" };
    return Arrays.asList(array);
  }

  public static List<String> getFangWuYongTu() {//中小学/幼儿园/医院/福利院/其它公共建筑/工业建筑/ 其它____
    String[] array = new String[] { "中小学", "幼儿园", "医院", "福利院", "其它公共建筑", "工业建筑", "其它" };
    return Arrays.asList(array);
  }

  //    public static List<String> getYuanSheFangLeiBie(){//特殊设防类、重点设防类、标准设防类、适度设防类
  //        String[] array = new String[]{"标准设防类","特殊设防类","重点设防类","适度设防类"};
  //        return Arrays.asList(array);
  //    }
  public static List<String> getYuanSheFangLeiBieTwo() {//特殊设防类、重点设防类、标准设防类、适度设防类
    String[] array = new String[] { "标准设防类", "特殊设防类", "重点设防类", "适度设防类" };
    return Arrays.asList(array);
  }

  public static List<String> getJianZaoFangShi() {//自建/统建/其他(_________)
    String[] array = new String[] { "自建", "统建", "其它" };
    return Arrays.asList(array);
  }

  public static List<String> getShiYongQingKuang() {//自用//空置/出租/经营/被征或待征/其他(_________)
    String[] array = new String[] { "自用", "空置", "出租", "经营", "被征或待征", "其它" };
    return Arrays.asList(array);
  }

  public static List<String> getKangZhenGouZaoCuoShi() {//"基本完备/部分具备/完全没有
    String[] array = new String[] { "基本完备", "部分具备", "完全没有" };
    return Arrays.asList(array);
  }

  public static List<String> getGouZaoCuoShiQingKuang() {//"○正规设计建造  ○有圈梁构造柱等整体性连接措施  ○已实施抗震加固  ○其他抗震措施（________）
    String[] array = new String[] { "正规设计建造", "有圈梁构造柱等整体性连接措施", "已实施抗震加固", "其他抗震措施" };
    return Arrays.asList(array);
  }

  public static List<String> getShouZaiQingKuang() {//□未受灾  □曾受灾
    String[] array = new String[] { "未受灾", "曾受灾" };
    return Arrays.asList(array);
  }

  public static List<String> getCengShouZaiQingKuang() {//"○地震  ○洪水  ○台风  ○雪灾  ○火灾  ○其他（     ）
    //备注（时间和程度）："
    String[] array = new String[] { "地震", "洪水", "台风", "雪灾", "火灾", "其它" };
    return Arrays.asList(array);
  }

  public static List<String> getFuZhuYongFangYongTu() {//"□生产加工  □小型商业(餐饮)  □仓储  □独立厨房  □独立卫生间 □其他（         ）
    String[] array = new String[] { "生产加工", "小型商业(餐饮)", "仓储", "独立厨房", "独立卫生间", "其它" };
    return Arrays.asList(array);
  }

  public static List<String> getFuZhuJianZaoFangShi() {//自建/统建/其他(_________)
    String[] array = new String[] { "自建", "统建", "其它" };
    return Arrays.asList(array);
  }

  public static List<String> getFuZhuGouZaoLeiXing() {//"□砖(砌块)混  □低层框架  □轻钢（钢）装配式  □混凝土装配式  □砖木  □土木  □石木  □木结构  □窑洞
    //□混杂结构（砖/砌块/土/石）  □其他（________）  "
    String[] array = new String[] {
        "砖(砌块)混", "低层框架", "轻钢（钢）装配式", "混凝土装配式", "砖木", "土木", "石木", "木结构", "窑洞", "混杂结构（砖/砌块/土/石）",
        "其它"
    };
    return Arrays.asList(array);
  }

  //    "□砖(砌块)混  □混凝土结构(框架、剪力墙)  □轻钢（钢）装配式  □混凝土装配式  □砖木  □土木  □石木  □木结构  □窑洞
  //            □混杂结构（砖/砌块/土/石）  □其他（________）  "
  public static List<String> getVillagePublicGouZaoLeiXing() {
    String[] array = new String[] {
        "砖(砌块)混", "混凝土结构(框架、剪力墙)", "轻钢（钢）装配式", "混凝土装配式", "砖木", "土木", "石木", "木结构", "窑洞",
        "混杂结构（砖/砌块/土/石）", "其它"
    };
    return Arrays.asList(array);
  }

  public static List<String> getFuZhuLieFengBianXing() {//
    String[] array = new String[] { "有", "无", "不确定" };
    return Arrays.asList(array);
  }

  public static List<String> getFuZhuZhuRen() {//□是   □否   □不确定  备注：
    String[] array = new String[] { "是", "否", "不确定" };
    return Arrays.asList(array);
  }

  public static List<String> getChanQuanXingZhi() {//£村集体、乡（镇）政府、企业、其它____
    String[] array = new String[] { "村集体", "乡（镇）政府", "企业", "其它" };
    return Arrays.asList(array);
  }

  public static List<String> getVillagePublicFangWuYongTu() {//村民中心、幼儿园、学校、集中供养、医务室、集体生产经营用房
    //        其它集体公共建筑（_______）
    //        开发性生产经营用房（_________）
    String[] array =
        new String[] { "村民中心", "幼儿园", "学校", "集中供养", "医务室", "集体生产经营用房", "其它集体公共建筑", "开发性生产经营用房" };
    return Arrays.asList(array);
  }

  public static List<String> projectCategory() {
    String[] a = new String[] {
        "城镇住宅", "大中小学校", "农村民居", "重要交通生命线", "电力网络", "电信网络", "水库大坝", "危险化学品厂库",
        "应急避难场所建设"
    };
    return Arrays.asList(a);
  }

  public static List<String> projectType() {
    String[] a = new String[] { "砖混结构", "钢混结构", "砖木结构", "钢结构", "木结构", "其它" };
    return Arrays.asList(a);
  }

  public static List<String> getProjectMethod() {
    String[] array = new String[] { "工程加固位置", "拆除重建" };
    return Arrays.asList(array);
  }

  public static List<String> getProjectMethodt() {
    String[] array = new String[] { "主体结构", "非结构构件", "其它" };
    return Arrays.asList(array);
  }

  public static List<String> earthquakeLevel() {
    String[] array = new String[] { "6度", "7度", "8度", "9度" };
    return Arrays.asList(array);
  }

  public static List<String> userType() {
    String[] user = new String[] { "房屋数据采集用户", "加固设施数据采集用户", "房屋&加固设施数据采集用户" };
    return Arrays.asList(user);
  }

  public static List<String> projectTypeHome() {
    String[] p = new String[] { "室内", "室外" };
    return Arrays.asList(p);
  }
  public static List<String> projectLifeReinforce() {
    String[] p = new String[] { "桥梁", "隧道","其它" };
    return Arrays.asList(p);
  }

  public static List<String> powerReinforce(){
    String[] p = new String[] { "电力网络设施", "发电站","变电战","办公楼等配套设施","其它" };
    return Arrays.asList(p);
  }
  public static List<String> waterReinforce(){
    String[] p = new String[] { "土石坝", "砌石坝","混凝土坝","橡胶坝","其它" };
    return Arrays.asList(p);
  }

  public static List<String> powerReinforce2(){
    String[] p = new String[] { "电信网络设施", "生产用房","其它" };
    return Arrays.asList(p);
  }
public static List<String> dangerReinforce(){
    String[] p = new String[] { "设备装置", "生产存储用房","其它" };
    return Arrays.asList(p);
  }

  public static List<String> yesOrNo(){
      String[] p = new String[]{"是","否"};
      return Arrays.asList(p);
  }

  public static List<String> projectUse(){
      String [] p = new String[]{"公园","学校","场馆","其它"};
      return Arrays.asList(p);
  }
}
